package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.RoleDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationRole extends AHackOrDieOperation {

	protected RoleDao roleDao;

	public AHackOrDieOperationRole() {
		super();
		roleDao = factory.getBean("roleDao", RoleDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;

}
